package com.zxx.pattern.observerPattern.observer1;

/**
 * 具体的观察者
 *
 * @author zxx on 2021/3/9
 */
public class Person1 extends Observer {

    public Person1() {
        super.name = "Person1";
    }

    @Override
    public void display() {
        System.out.println(this.name + "以便同个，一边看报纸");
    }
}
